package com.ruoyi.sys.security.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡更路线对象 tb_patrolling_route
 *
 * @author iuxin
 * @date 2022-05-25
 */
public class TbPatrollingRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long prId;

    /** 巡更路线名称 */
    @Excel(name = "巡更路线名称")
    private String prName;

    /** 巡更点数量 */
    @Excel(name = "巡更点数量")
    private Long prAmount;

    /** 巡更点位  连接tb_keep_watch */
    @Excel(name = "巡更点位  连接tb_keep_watch")
    private Long prKwId;

    /** 备注 */
    @Excel(name = "备注")
    private String ptRemarks;

    /** 巡更点配置信息 */
    private List<TbKeepWatch> tbKeepWatchList;

    public void setPrId(Long prId)
    {
        this.prId = prId;
    }

    public Long getPrId()
    {
        return prId;
    }
    public void setPrName(String prName)
    {
        this.prName = prName;
    }

    public String getPrName()
    {
        return prName;
    }
    public void setPrAmount(Long prAmount)
    {
        this.prAmount = prAmount;
    }

    public Long getPrAmount()
    {
        return prAmount;
    }
    public void setPrKwId(Long prKwId)
    {
        this.prKwId = prKwId;
    }

    public Long getPrKwId()
    {
        return prKwId;
    }
    public void setPtRemarks(String ptRemarks)
    {
        this.ptRemarks = ptRemarks;
    }

    public String getPtRemarks()
    {
        return ptRemarks;
    }

    public List<TbKeepWatch> getTbKeepWatchList()
    {
        return tbKeepWatchList;
    }

    public void setTbKeepWatchList(List<TbKeepWatch> tbKeepWatchList)
    {
        this.tbKeepWatchList = tbKeepWatchList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prId", getPrId())
            .append("prName", getPrName())
            .append("prAmount", getPrAmount())
            .append("prKwId", getPrKwId())
            .append("ptRemarks", getPtRemarks())
            .append("tbKeepWatchList", getTbKeepWatchList())
            .toString();
    }
}
